<template>
  <div class="content-empty">
    <img :src="require('@/assets/images/empty.jpg')" width="48" />
    <div v-html="desc"></div>
  </div>
</template>

<script>
export default {
  name: "lyEmpty",
  props: {
    desc: {
      type: String,
      default: "该模块下暂无内容",
    },
  },
};
</script>

<style lang="scss" scoped>
.content-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 200px;
  color: #666666;
  font-size: 12px;
}
</style>
